package com.axiyue.trip.response;

import java.util.ArrayList;
import java.util.List;

public class Flights {

	private List<Flight> flight;

	public List<Flight> getFlight() {
		return flight;
	}

	public void setFlight(List<Flight> flight) {
		this.flight = flight;
	}

	public void addFlight(Flight flightObj) {
		if (this.flight == null) {
			this.flight = new ArrayList<Flight>();
		}
		this.flight.add(flightObj);
	}

}
